Optimal. Leaf size=69 \[ \frac{1}{2} i \text{PolyLog}(2,-i x)-\frac{1}{2} i \text{PolyLog}(2,i x)-\frac{\log \left (x^2+1\right )}{2 x}-\frac{\log \left (x^2+1\right ) \tan ^{-1}(x)}{2 x^2}-\frac{1}{2} \log \left (x^2+1\right ) \tan ^{-1}(x)+\tan ^{-1}(x) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0752657, antiderivative size = 69, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 6, integrand size = 12, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.5, Rules used = {4852, 325, 203, 5021, 4848, 2391} \[ \frac{1}{2} i \text{PolyLog}(2,-i x)-\frac{1}{2} i \text{PolyLog}(2,i x)-\frac{\log \left (x^2+1\right )}{2 x}-\frac{\log \left (x^2+1\right ) \tan ^{-1}(x)}{2 x^2}-\frac{1}{2} \log \left (x^2+1\right ) \tan ^{-1}(x)+\tan ^{-1}(x) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4852
Rule 325
Rule 203
Rule 5021
Rule 4848
Rule 2391
Rubi steps
\begin{align*} \int \frac{\tan ^{-1}(x) \log \left (1+x^2\right )}{x^3} \, dx &=-\frac{\log \left (1+x^2\right )}{2 x}-\frac{1}{2} \tan ^{-1}(x) \log \left (1+x^2\right )-\frac{\tan ^{-1}(x) \log \left (1+x^2\right )}{2 x^2}-2 \int \left (-\frac{1}{2 \left (1+x^2\right )}-\frac{\tan ^{-1}(x)}{2 x}\right ) \, dx\\ &=-\frac{\log \left (1+x^2\right )}{2 x}-\frac{1}{2} \tan ^{-1}(x) \log \left (1+x^2\right )-\frac{\tan ^{-1}(x) \log \left (1+x^2\right )}{2 x^2}+\int \frac{1}{1+x^2} \, dx+\int \frac{\tan ^{-1}(x)}{x} \, dx\\ &=\tan ^{-1}(x)-\frac{\log \left (1+x^2\right )}{2 x}-\frac{1}{2} \tan ^{-1}(x) \log \left (1+x^2\right )-\frac{\tan ^{-1}(x) \log \left (1+x^2\right )}{2 x^2}+\frac{1}{2} i \int \frac{\log (1-i x)}{x} \, dx-\frac{1}{2} i \int \frac{\log (1+i x)}{x} \, dx\\ &=\tan ^{-1}(x)-\frac{\log \left (1+x^2\right )}{2 x}-\frac{1}{2} \tan ^{-1}(x) \log \left (1+x^2\right )-\frac{\tan ^{-1}(x) \log \left (1+x^2\right )}{2 x^2}+\frac{1}{2} i \text{Li}_2(-i x)-\frac{1}{2} i \text{Li}_2(i x)\\ \end{align*}
Mathematica [A] time = 0.0286804, size = 49, normalized size = 0.71 \[ \frac{1}{2} i (\text{PolyLog}(2,-i x)-\text{PolyLog}(2,i x))-\frac{\log \left (x^2+1\right ) \left (x^2 \tan ^{-1}(x)+x+\tan ^{-1}(x)\right )}{2 x^2}+\tan ^{-1}(x) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 2.244, size = 0, normalized size = 0. \begin{align*} \int{\frac{\arctan \left ( x \right ) \ln \left ({x}^{2}+1 \right ) }{{x}^{3}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.63935, size = 95, normalized size = 1.38 \begin{align*} \frac{4 \, x^{2} \arctan \left (x\right ) \log \left (x\right ) + 4 \, x^{2} \arctan \left (x\right ) - 2 i \, x^{2}{\rm Li}_2\left (i \, x + 1\right ) + 2 i \, x^{2}{\rm Li}_2\left (-i \, x + 1\right ) -{\left (\pi x^{2} + 2 \,{\left (x^{2} + 1\right )} \arctan \left (x\right ) + 2 \, x\right )} \log \left (x^{2} + 1\right )}{4 \, x^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{\arctan \left (x\right ) \log \left (x^{2} + 1\right )}{x^{3}}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\log{\left (x^{2} + 1 \right )} \operatorname{atan}{\left (x \right )}}{x^{3}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\arctan \left (x\right ) \log \left (x^{2} + 1\right )}{x^{3}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]